#include "tabtenn0.h"
#include <iostream>


int main(int argc, char const *argv[])
{
    using std::cout;
    using std::endl;

    TableTennisPlayer player1("player", "player1", true);
    TableTennisPlayer player2("player", "player2", false);

    player1.Name();
    if (player1.HasTable())
        cout << ": has a table." << endl;
    else
        cout << ": hasn't a table." << endl;
    
    player2.Name();
    if (player2.HasTable())
        cout << ": has a table." << endl;
    else
        cout << ": hasn't a table." << endl;



    return 0;
}
